package com.tz.test.service.impl;

import com.tz.test.entity.UserFace;
import com.tz.test.mapper.TestMapper;
import com.tz.test.service.ObjService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class ObjServiceImpl implements ObjService {

    @Autowired(required = false)
    TestMapper testMapper;

    @Transactional(rollbackFor = Exception.class)
    @Override
    public void batchInsertObj(List<UserFace> list) {
//         testMapper.batchInsertObj(list);
    }

}
